package com.sys.service.impl;

import com.sys.dao.GcmcDao;
import com.sys.service.GcmcService;
import com.sys.vo.GcmcVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class GcmcServiceImpl implements GcmcService {

    @Autowired
    private GcmcDao gcmcDao;
    /**
     * 查询用户 id查询工程信息（客户信息）
     * @return
     * @throws RuntimeException
     */
    @Override
    public List<GcmcVo> getGcmcInfo(Integer khmcId) throws RuntimeException {
        return gcmcDao.getGcmcInfo(khmcId);
    }
}
